import { request } from './request'

export const detailAbout = (params: App.DetailParams):Promise<App.AboutItem> => {
  return request({
    method: 'get',
    params,
    url:"/about/detail"
  })
}


export const updateAbout = (params: App.AboutParams): Promise<App.ResponseCore> => {
  return request({
    method: 'post',
    data: params,
    url:'/about/addOrUpdate'
  })
}
